Class Result

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\Pdo\Result
Implements: Iterator, ResultInterface

Description

Methods

Name Description Defined By
buffer() Result
count() Count Result
current() Get the data Result
getAffectedRows() Get affected rows Result
getFetchMode() Result
getFieldCount() Result
getGeneratedValue() Result
getResource() Get resource Result
initialize() Initialize Result
isBuffered() Result
isQueryResult() Is query result Result
key() Key Result
next() Next Result
rewind() Result
setFetchMode() Result
valid() Valid Result

Method Details

buffer()

Returns: null

count()

Count

Returns: int

current()

Get the data

Returns: mixed

getAffectedRows()

Get affected rows

Returns: int

getFetchMode()

Returns: int

getFieldCount()

Returns: int

getGeneratedValue()

Returns: mixed|null

getResource()

Get resource

Returns: mixed

initialize()

Initialize

Parameter Name Type Description
$resource \PDOStatement
$generatedValue
$rowCount int
$generatedValue

Returns: self Provides a fluent interface

isBuffered()

Returns: bool|null

isQueryResult()

Is query result

Returns: bool

key()

Key

Returns: mixed

next()

Next

Returns: mixed

rewind()

Returns: void

setFetchMode()

Parameter Name Type Description
$fetchMode int

Returns:

valid()

Valid

Returns: bool

Top